package com.jinmdz.fmis.api.api.model.coldstorage;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.core.constant.EDictCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 冷藏所需逝者信息
 *
 * @author LiCongLu
 * @date 2020-02-16 15:40
 */
@ApiModel(value = "冷藏所需逝者信息", description = "冷藏所需逝者信息")
public class ColdStorageAllDeadData extends BaseBean {

    /**
     * 死亡原因
     */
    @ApiModelProperty(value = "死亡原因", name = "deathCase", position = 1)
    private String deathCause;

    /**
     * 遗体状态编码
     */
    @ApiModelProperty(value = "遗体状态编码", name = "remainsStateCode", position = 2)
    @JsonIgnore
    private Integer remainsStateCode;

    /**
     * 遗体状态
     */
    @ApiModelProperty(value = "遗体状态", name = "remainsState", position = 3)
    @AnDict(dict = EDictCode.REMAINS_STATE, ref = "remainsStateCode")
    private String remainsState;

    public String getDeathCause() {
        return deathCause;
    }

    public ColdStorageAllDeadData setDeathCause(String deathCause) {
        this.deathCause = deathCause;
        return this;
    }

    public Integer getRemainsStateCode() {
        return remainsStateCode;
    }

    public ColdStorageAllDeadData setRemainsStateCode(Integer remainsStateCode) {
        this.remainsStateCode = remainsStateCode;
        return this;
    }

    public String getRemainsState() {
        return remainsState;
    }

    public ColdStorageAllDeadData setRemainsState(String remainsState) {
        this.remainsState = remainsState;
        return this;
    }
}
